package com.aaa.ssm.query;

import lombok.Data;

@Data
public class BaseQuery {
    private Integer  pageNo;
    private Integer  pageCount;

    public Integer getIndex(){
        return (pageNo-1)*pageCount;
    }
}
